<template>
  <div class="page-content">
    <!-- 表格区域开始 -->
    <MainTable :columns="columns"  />
    <!-- 表格区域结束 -->
  </div>
</template>

<script>
import MainTable from "@/components/ProcessingPlantManagement/inventoryManagement/MainTable.vue";

export default {
  name: "InventoryManagement",
  components: {
    MainTable,
  },
  data() {
    return {
      // 数据总条数
      total: 0,
      // 当前页码,
      pageNum: 1,
      // 每页显示总条数
      pageSize: 10,
      // 表头数据
      columns: [
        { name: "原料产品SKU", show: true, prop: 'sku' },
        { name: "原料产品名称", show: true, prop: 'name' }, 
        { name: "供应商id", show: true, prop: 'supplierId' },
        { name: "所属种类", show: true, prop: 'variety' },
        { name: "产品类型", show: true, prop: 'type' }, 
        { name: "规格", show: true, prop: 'specification' },
        { name: "单位", show: true, prop: 'unit' },
        { name: "单价(元)", show: true, prop: 'price' },
      ],
    };
  },
  methods: {
    
  },
};
</script>